package me.zhengjie.modules.wechatuser.domain.vo;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class WechatLoginVo {

    private Long id;

    private String openId;

    private String rawData;

    private String signature;

    private String encryptedData;

    private String iv;


    private UserInfo userInfo;


    @Getter
    @Setter
    public static class UserInfo {

        /**
         * nickName : 毛毛虫🐛
         * gender : 1
         * language : zh_CN
         * city : Chaoyang
         * province : Beijing
         * country : China
         * avatarUrl : https://thirdwx.qlogo.cn/mmopen/vi_32/B0j9PT51ib1X1klZjPechnG9A5mFRVmicnKg4KEd6N3RVVg4P7sIafHVDRco4DCv3aQH6bjQDURh5umzEknAQTWQ/132
         */

        private String nickName;
        private int gender;
        private String language;
        private String city;
        private String province;
        private String country;
        private String avatarUrl;
    }


}
